package com.lmk.ms.autoconfigure.obs;

import com.lmk.ms.common.obs.config.MinIoProperties;
import com.lmk.ms.common.obs.service.impl.MinIoFileServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * MinIO自动配置
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/10/11
 */
@Configuration
@EnableConfigurationProperties(MinIoProperties.class)
@Import({MinIoFileServiceImpl.class})
@ConditionalOnProperty(name = "ms.config.oss.minio.enabled", matchIfMissing = false)
public class OssMinioAutoconfigure {

}
